package com.cinemtl.beans;

import java.io.Serializable;
import java.util.Date;

public class Order implements Serializable {

	// Attributs
	private static final long serialVersionUID = 1L;
	private int id;
	private int idMovie;
	private int idUser;
	private int nbTicket;
	private Date purchaseDate;

	// Getteurs et setteurs
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getIdMovie() {
		return idMovie;
	}

	public void setIdMovie(int idMovie) {
		this.idMovie = idMovie;
	}

	public int getIdUser() {
		return idUser;
	}

	public void setIdUser(int idUser) {
		this.idUser = idUser;
	}
	public int getNbTicket() {
		return nbTicket;
	}

	public void setNbTicket(int nbTicket) {
		this.nbTicket = nbTicket;
	}

	public Date getPurchaseDate() {
		return purchaseDate;
	}

	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}
}
